package com.ruoyi.passenger.evaluationcomplaints.ro;

import io.swagger.annotations.ApiParam;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Author 张广宇
 * @Date 2021/12/1
 * @Package com.ruoyi.passenger.evaluationcomplaints.ro
 * @Class GetEvaluationParam
 * @Description 新增乘客评价请求参数
 **/
@Data
public class GetEvaluationParam {
    /**
     * 订单id
     */
    @ApiParam(value = "订单id", required = true)
    @NotNull(message = "订单id不能为空")
    private Long orderId;
    /**
     * 评价类型（字典：好评、中评、差评、投诉）
     */
    @ApiParam(value = "评价类型（字典：好评、中评、差评、投诉）", required = true)
    @NotBlank(message = "评价类型不能为空（字典：好评、中评、差评、投诉）")
    private String type;
    /**
     * 投诉原因
     */
    @ApiParam(value = "投诉原因", required = true)
    private List<String> evaluateReasons;
    /**
     * 投诉详情
     */
    @ApiParam(value = "投诉详情", required = true)
    private String evaluateDetail;
    /**
     * 投诉人id
     */
    @ApiParam(value = "投诉人id", required = true)
    @NotNull(message = "投诉人id不能为空")
    private Long passengerId;
    /**
     * 投诉人手机号
     */
    @ApiParam(value = "投诉人手机号", required = true)
    @NotBlank(message = "投诉人手机号不能为空")
    private String passengerTel;
    /**
     * 投诉状态默认已提交
     */
    @ApiParam(value = "投诉状态默认已提交", required = true)
    @NotBlank(message = "投诉状态不能为空默认已提交")
    private String status;

}
